import lombok.Data;
import org.junit.jupiter.api.Test;

public class test01 {

    @Data
    static class Student{
        private String name;
        private Integer age;
    }

    @Test
    void test(){
        Student student = new Student();
        student.setAge(23);
        student.setName("wx");
        change(student);
        System.out.println(student);
    }

    private void change(Student ss){
        ss.setName("sb");
    }

}
